package com.zero.system.service;


import com.zero.system.entity.Flight;
import com.zero.system.util.PageBean;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface FlightService {
    PageBean<Flight> queryPage(Map<String, Object> paramMap);

    Integer getCount(Map<String, Object> paramMap);

    int add(Flight flight);

    Flight findById(Integer id);

    int delete(List<Integer> ids);

    int update(Flight flight);

    Flight findByFlightNo(String flightNo);

    List<Flight> findAll();

    List<Flight> findByCondition(String startPlace, String endPlace, Date startDate, Date day1);


}
